.category{

  .search{
    width:100%;
    height:80rpx;
    padding:10rpx;
    line-height:60rpx;
    background:#f2f2f2;
    font-size:30rpx;
    .text{
      margin-left:10rpx;
      padding-left:50rpx;
      width:620rpx;
      height:60rpx;
      float:left;
      background-color: #fff;
      position:relative;
      border-radius: 10rpx;
      icon{
        position:absolute;
        left:10rpx;
        top:12rpx;
      }
      input{


        width:100%;
        height:100%;
      }
    }

    .check-btn{
      text-align:center;
      width:100rpx;
      float:right;
    }
  }

  .category-list{

    display:flex;
    justify-content: space-around;
    .item{

      text-align:center;
      flex:none;

      line-height:50rpx;
      &.active{
        color:#ff4e4d;
        border-bottom: solid 1px #ff4e4d;
      }
    }

  }

  .product-list{

    width:100%;
    padding:20px;
    height:auto;

    .item{

      height:260rpx;
      margin:15rpx 0 15rpx 0;


      .img{

        width:260rpx;
        height:260rpx;
        float:left;

      }
      .info{
        position:relative;
        height:100%;
        font-size:26rpx;
        padding:0 10rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .name{



        }

        .price-cart{

          display:flex;
          justify-content: space-between;
          align-items: flex-end;
          color:#FF4F4F;
          line-height:1.5;

          .price{

            flex:none;
            .sale-number{
              color:#777;
              margin-left:6rpx;
              font-size: 28rpx;
            }

            .old-price{

              font-weight:normal;
              color:#777;
              font-size:26rpx;
              text-decoration: line-through;
            }

            .current-price{

            }

          }

          .saled{
            display:none;
            flex:none;
          }

          .buy{
            flex:none;
            border-radius: 5rpx;
            border:solid 1px #FF4F4F;
            padding:0 15rpx;
          }
        }

      }
    }
  }

}